﻿Ext.namespace('Yaxunsoft', 'Yaxunsoft.GpsPatrol');
Yaxunsoft.GpsPatrol.SuperMapPanel = function (config) {
    Ext.apply(this, config);
    var op = this.operation;
    var longitude = this.longitude;
    var latitude = this.latitude;
    var html = '<iframe id="smt" frameborder="0" width="800" height="490" scrolling="no" src="Map.aspx?longitude=' + longitude + '&latitude=' + latitude + '"></iframe>';

    this.items = [{
        html: html
    }];

    Yaxunsoft.GpsPatrol.SuperMapPanel.superclass.constructor.call(this, {
        bodyStyle: 'padding:5px',
        collapsible: true,
        autoScroll: true,
        border: false,
        height: 530,
        width: 815
    });
};
Ext.extend(Yaxunsoft.GpsPatrol.SuperMapPanel, Ext.Panel, {

});